<template>
  <div class="toast" @click="isShow">
    <div class="windows">
      {{toast.message}}
    </div>

    
  </div>
</template>

<script>
export default {
  name: "toast",
  data() {
    return {
      isHidren:true
    };
  },
  props: ["toast"],
  created() {
    
  },
  methods: {
    isShow(){
      // this.toast.isToast = false;
      this.$emit("childClick","false")
    }
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
@import "./toast.scss";
</style>
